


import Mock from 'mockjs';
import {nanoid} from "nanoid";

const {Random}  = Mock
Mock.setup({
    timeout:'200-600'
})


Mock.mock('http://81.68.131.25/api/management/message/getMessage',{
    "messageList|10-100":[{
        "name":Random.cname(),
        "email":'122507966@qq.com',
        "time":"@datetime",
        "body":Random.csentence(100,300),
        "id":nanoid()
    }]
})
